Design of a Generic and Reusable Scheduler for Smalltalk-80 Position Paper Presented at the Ecoop'92 Workshop on Object-Based Concurrency and Reuse
نویسنده
چکیده
This paper discusses the reuse of software components for describing and implementing various schedulers. We advocate the design of a generic and general purpose scheduler. This generic scheduler is based on object-oriented methodology (namely Smalltalk-80) and may be instantiated to match various scheduling strategies. This scheduler has been primarily developed for Actalk, a testbed for actor languages integrated into Smalltalk-80, to ease the prototyping of scheduling policies for actors. Our generic scheduler is particularly e cient to help the design of time-sharing algorithms that are not supported by the standard Smalltalk-80 scheduler. Our starting point was the Smalltalk-80 scheduler. We extend it to take time-sharing into account. In spite of the fact that our generic scheduler is used for Actalk, its purpose is far more general: it may be used for simulation for example. In this paper, we rstly present the goal of time-sharing algorithms and a few examples. Secondly, we explain why and how we designed our own generic scheduler on top of the Smalltalk-80 one. We illustrate the use of our scheduler by simulating the algorithms rstly presented as examples. We discuss how object-oriented techniques allow us to build-up and reuse scheduling policies.
منابع مشابه
Prototyping Programming Environments for Object-Oriented Concurrent Languages: a Smalltalk-Based Experience Lo c LESCAUDRON
This paper discusses the prototyping of programming environments for object-oriented concurrent programming languages. We advocate designing new prototypes starting from existing sophisticated programming environments that we can nd in standard (sequential) object-oriented programming languages (namely Smalltalk-80 1 ). Our starting point is a testbed for object-oriented concurrent languages ba...
متن کاملA Model for Structuring User Documentation of Object-Oriented Frameworks Using Patterns and Hypertext
Adequate documentation of an object-oriented framework is the prerequisite to its success as a reusable component. The overall design of a framework and its intended method of reuse are not obvious from the source code and thus have to be addressed in the documentation. Most importantly, the documentation of a framework has to be structured in such a way that it guarantees the adequate support ...
متن کاملThird Workshop on Dynamic Languages and Applications
Following last two years’ workshop on dynamic languages at the ECOOP conference, the Dyla 2007 workshop was a successful and popular event. As its name implies, the workshop’s focus was on dynamic languages and their applications. Topics and discussions at the workshop included macro expansion mechanisms, extension of the method lookup algorithm, language interpretation, reflexivity and languag...
متن کاملDynamic Object Evolution without Name Collisions
Support for modular evolution of objects is required in many application areas. However, existing mechanisms for incremental behavior composition either do not support evolving objects at all, or do not satisfactorily solve the encapsulation and name collision problems associated with them. In this paper, a new approach to behavior composition in a class-based environment is presented. It is ba...
متن کاملThe Larch / Smalltalk Interface Speci cation
Object-oriented programming languages, such as Smalltalk, help one to build reusable program modules. The reuse of program modules requires adequate documentation | formal or informal. Larch/Smalltalk is a formal speciication language for specifying such reusable Smalltalk modules. Larch/Smalltalk rmly separates speciication from implementation. In Larch/Smalltalk the unit of speciication is an...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1992